<?php
session_start();
require_once "include/database.php";
$db = db_connect();
require_once "include/auth.php";
$current_user = current_user();
require_login();
require_user(0);
$title = "CS 4400 Project | Tutor Search";
include "_header.php"; 
?>

<link href="bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">

<div class="container" style="text-align:center">
  <form class="form-signin" action="tutorsearchsubmit.php" method="POST">
    <h2 class="form-signin-heading">Tutor Search</h2>
    <?php if($_GET['error'] == '1'): ?>
      <h4 class="text-error">No Courses Found!</h4>
    <?php endif; ?>
    <input type="text" class="input-block-level" placeholder="Course Code" name="course_code" id="course_code" style="width:220px">
    <p> OR </p>
    <input type="text" class="input-block-level" placeholder="Keyword" name="keyword" id="keyword" style="width:220px">
  </br>
    <button class="btn btn-large btn-primary" type="submit">Search</button>
  </form>
</div>
